package com.fang.api_encryption.entrty;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;

/**
 * @Description
 * @Author Bernie_fang
 * @Date 2023/10/15 22:18
 **/
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum UserType {
    VIP("VIP用户"),
    COMMON("普通用户");
    private String code;
    private String type;

    UserType(String type) {
        this.code = name();
        this.type = type;
    }
}